<template>
  <el-radio-group v-model="edu">
    <el-radio value="小学">学历:小学</el-radio>
    <el-radio value="初中">学历:初中</el-radio>
    <el-radio value="高中">学历:高中</el-radio>
    <el-radio value="大学">学历:大学</el-radio>
  </el-radio-group>
e'l
  <hr>

  <el-radio-group v-model="pr">
    <el-radio-button v-for="p in arr" :value="p.price">{{p.title}}</el-radio-button>
  </el-radio-group>
  <h4>这款酒的价格:{{pr}}</h4>
</template>

<script setup>
import {ref} from "vue";

const edu=ref('');

const pr = ref(2500);
const arr = ref([
  {title:'五粮液',price:500},
  {title:'茅台',price:2500},
  {title:'汾酒',price:330},
  {title:'梦之蓝',price:368}
]);
</script>

<style scoped>

</style>